//import {fetch} from '../api';
//import { Toast } from "mint-ui";

//行家申请信息、用户推荐个数
const getApplyInfo = 'PostMessage/Getapplyexpertinfo';

//陌生人或好友查看行家信息
const  getExpertInfo = 'PostMessage/Getexpertinfo';

//修改申请成为行家信息
const modifyApplyInfo = 'PostMessage/Updateapplyexpertinfo';

//申请成为行家
const toApply = 'PostMessage/Applybecomeexpert';

//认证他人成为行家 
const identifyExperts = 'PostMessage/Authenticatingothersexpert';

//检查用户是否为行家
const checkExpert = 'PostMessage/Checkuserorexpert';

//获取附近行家信息
const nearInfo = 'NearbyPostMessage/getlocationmessage';

//单条行家发布的详细信息
const messageDetail= 'NearbyPostMessage/getloactionmessagedetail';

//求见信息列表
const getAskToSesList = 'AskToSee/GetAskToSesList';

//单条求见信息详情
const getMeetList= 'AskToSee/GetSingleAskToSes';

//行家信息点赞和取消赞
const praiseExpert = 'Praise/meetlike';

//求见信息点赞
const praiseMeet = 'Praise/asktoseelike';

//标签模糊搜索
const hotLabel = 'LabelRadar/HotTallyList';
const labelRadar = 'LabelRadar/Fuzzyseatchtally';
const radarSearch = 'LabelRadar/Radartallyresult';

//查询雷达标签匹配的行家
const ladarExpert = 'LabelRadar/radartallyresultdetail';

//求见收藏
const askToMeetCollect = 'Collect/AddMyAskCollect';

//约见收藏
const meetCollect = 'Collect/AddMyMeetCollect';

//我的约见收藏列表
const meetCollectList = 'Collect/MyMeetCollectList';

//求见收藏列表
const askCollectList = 'Collect/MyAskCollectList';

//取消收藏
const cancelCollect = 'Collect/DeleteMyCollect';

//检测用户是否认证过该行家
const isAtionExpert = 'PostMessage/IsAttestAtionExpert';

const API = {
  getApplyInfo,
  getExpertInfo,
  modifyApplyInfo,
  toApply,
  identifyExperts,
  checkExpert,
  nearInfo,
  getAskToSesList,
  messageDetail,
  getMeetList,
  praiseExpert,
  praiseMeet,
  hotLabel,
  labelRadar,
  radarSearch,
  ladarExpert,
  askToMeetCollect,
  meetCollect,
  meetCollectList,
  askCollectList,
  cancelCollect,
  isAtionExpert
}
export default API;